import request from "@/config/utils/request";
// 订单列表查询
export function listPageOrder(data) {
  return request({
    url: "/apis/smp/ocorder/listPageOrder",
    method: "post",
    data
  });
}
// 订单id详情查询
export function getOrder(data) {
  return request({
    url: "/apis/smp/ocorder/getOrder",
    method: "post",
    data
  });
}
// 批量关闭订单
export function closeApproval(data) {
  return request({
    url: "/apis/smp/ocorder/closeApproval",
    method: "post",
    data
  });
}
// 撤回关闭
export function closeRevokeApproval(data) {
  return request({
    url: "/apis/smp/ocorder/closeRevokeApproval",
    method: "post",
    data
  });
}

// 详情
export function getOcShipOrderById(data) {
  return request({
    url: "/apis/smp/ocshiporder/getOcShipOrderById",
    method: "post",
    data
  });
}
